#include <stdio.h>

void swap(int* a, int* b) {
    int temp = *a;
    printf("%d",*a);
    *a = *b;

    *b = temp;
    printf("%d",*b);
}

void main(){
    int array [2];
   array[0]=0;
   array[1]=1;
    swap(array,+1);
    printf("%d %d",array[0],array[1]);
}